#ifndef QUERYSCORE_H
#define QUERYSCORE_H

#include <QDialog>
#include <QSqlTableModel>
#include <QSqlQueryModel>
#include <QSqlRecord>

namespace Ui {
class QueryScore;
}

class QueryScore : public QDialog
{
    Q_OBJECT

public:
    void countScore();
    explicit QueryScore(QWidget *parent = 0);
    ~QueryScore();

private slots:
    void on_query_clicked();
    void on_rise_clicked();
    void on_decline_clicked();

private:
    Ui::QueryScore *ui;
    QSqlTableModel *model;
};

#endif // QUERYSCORE_H
